rootfile=$1

echo "************** varifying CDB !!  **************"

~/.task/CommondEdx/printOCDB $rootfile > printobj.log

bb=$(echo PHQ0 PHQ1 PHQ2 PHQ3 PHQ4 PHQ5 PHQ6 PHQ7)

for jj in $bb
do
    echo =============================
    echo type $jj
    echo

    grep outcalibobj$jj printobj.log | sort -n -k 2 > print$jj.log
    wc print$jj.log
done

